package com.stronger.pettern.original.objectOriginal;

import com.stronger.pettern.original.classOriginal.ExpandInterfacen;
import com.stronger.pettern.original.classOriginal.Original;

public class ObjectAdapter implements ExpandInterfacen {
    private Original original;

    public ObjectAdapter(){
        original=new Original();
    }
    @Override
    public void show() {
        original.show();
    }

    @Override
    public void hide() {
        System.out.println("This is ObjectAdapter");
    }
}
